package com.example.love_margin.Service;


import com.example.love_margin.Entity.Adopt;
import com.example.love_margin.Entity.Science;
import org.springframework.stereotype.Service;

@Service
public interface AdoptService {

    Object addAdopt(Adopt adopt);

    Object deleteAdopt(int adopt_id);

    Object delAdoptMany(Integer[] adopt_ids);

    Object updateAdopt(Adopt adopt);

    Object updateAdoptState(int adopt_id);

    Object updateAdoptStates(Integer[] adopt_ids);

    Object selectAdoptOne(int adopt_id);

    Object selectMyAdopt(int adopt_id,String adopt_state);

    Object selectAdoptState(Integer pageNum,Integer pageSize);

    Object selectAdoptPage(String adopt_state);


}
